package research_team.client.generated.business;

import java.util.*;
import research_team.client.notgenerated.eventFramework.PropertyChangeSupport;

/**
* TODO javadoc
*/
public class Collaboration   {

	private String website;
	private String title;
	private String status;
	private Date from;
	private Date until;
	private Collection<Partner> partners;
	private Collection<OpenPosition> openPositions;
	private TypeCollaboration type;
	private PropertyChangeSupport<String> propertychangesupportwebsite;
	private PropertyChangeSupport<String> propertychangesupporttitle;
	private PropertyChangeSupport<String> propertychangesupportstatus;
	private PropertyChangeSupport<Date> propertychangesupportfrom;
	private PropertyChangeSupport<Date> propertychangesupportuntil;
	public void setPropertychangesupportwebsite(PropertyChangeSupport<String> propertychangesupportwebsite) {
		this.propertychangesupportwebsite = propertychangesupportwebsite;
	}
	public void setPropertychangesupporttitle(PropertyChangeSupport<String> propertychangesupporttitle) {
		this.propertychangesupporttitle = propertychangesupporttitle;
	}
	public void setPropertychangesupportstatus(PropertyChangeSupport<String> propertychangesupportstatus) {
		this.propertychangesupportstatus = propertychangesupportstatus;
	}
	public void setPropertychangesupportfrom(PropertyChangeSupport<Date> propertychangesupportfrom) {
		this.propertychangesupportfrom = propertychangesupportfrom;
	}
	public void setPropertychangesupportuntil(PropertyChangeSupport<Date> propertychangesupportuntil) {
		this.propertychangesupportuntil = propertychangesupportuntil;
	}
 
	public String get_website() {
		return website;
	}

	public void set_website(String website) {
		if(propertychangesupportwebsite!=null) {
			propertychangesupportwebsite.firePropertyChange(this.website, website);
		}
		System.err.println(website);
		
		this.website = website;
	}

	public String get_title() {
		return title;
	}

	public void set_title(String title) {
		if(propertychangesupporttitle!=null) {
			propertychangesupporttitle.firePropertyChange(this.title, title);
		}
		System.err.println(title);
		
		this.title = title;
	}

	public String get_status() {
		return status;
	}

	public void set_status(String status) {
		if(propertychangesupportstatus!=null) {
			propertychangesupportstatus.firePropertyChange(this.status, status);
		}
		System.err.println(status);
		
		this.status = status;
	}

	public Date get_from() {
		return from;
	}

	public void set_from(Date from) {
		if(propertychangesupportfrom!=null) {
			propertychangesupportfrom.firePropertyChange(this.from, from);
		}
		System.err.println(from);
		
		this.from = from;
	}

	public Date get_until() {
		return until;
	}

	public void set_until(Date until) {
		if(propertychangesupportuntil!=null) {
			propertychangesupportuntil.firePropertyChange(this.until, until);
		}
		System.err.println(until);
		
		this.until = until;
	}


}